package com.test.reggie.bean;

import java.math.BigDecimal;
import java.util.List;

public class ShoppingCartListBean {

    /**
     * code : 200
     * msg : 操作成功
     * data : [{"id":"1569947835815677954","name":"鱼香肉丝","userId":"1565621427786121218","dishId":"1564181103297667074","setmealId":null,"dishFlavor":"中辣,不要香菜,少冰","number":4,"amount":10,"image":"fd480a25-1753-481f-afc9-87d7f469bc17.WEBP","createTime":"2022-09-14 15:15:07","updateTime":"2022-09-14 15:42:17"}]
     * map : {}
     */

    private int code;
    private String msg;
    private MapBean map;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class MapBean {
    }

    public static class DataBean {
        /**
         * id : 1569947835815677954
         * name : 鱼香肉丝
         * userId : 1565621427786121218
         * dishId : 1564181103297667074
         * setmealId : null
         * dishFlavor : 中辣,不要香菜,少冰
         * number : 4
         * amount : 10
         * image : fd480a25-1753-481f-afc9-87d7f469bc17.WEBP
         * createTime : 2022-09-14 15:15:07
         * updateTime : 2022-09-14 15:42:17
         */

        private String id;
        private String name;
        private String userId;
        private String dishId;
        private Object setmealId;
        private String dishFlavor;
        private int number;
        private BigDecimal amount;
        private String image;
        private String createTime;
        private String updateTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getDishId() {
            return dishId;
        }

        public void setDishId(String dishId) {
            this.dishId = dishId;
        }

        public Object getSetmealId() {
            return setmealId;
        }

        public void setSetmealId(Object setmealId) {
            this.setmealId = setmealId;
        }

        public String getDishFlavor() {
            return dishFlavor;
        }

        public void setDishFlavor(String dishFlavor) {
            this.dishFlavor = dishFlavor;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public BigDecimal getAmount() {
            return amount;
        }

        public void setAmount(BigDecimal amount) {
            this.amount = amount;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }
    }
}
